Plugins

public interface Plugins implements ProfileService, Advisable<P>

An engine service that provides the details about the available Chromium plugins.

Properties

Link copied to clipboard
public final List<Plugin> list
public final List<Plugin> list

List of the installed and available Chromium plugins.

Link copied to clipboard
public final PluginSettings settings
public final PluginSettings settings

Settings of the available plugins.

Functions

Link copied to clipboard
public final C callback<C extends Callback>()
public final C callback<C extends Callback>()

Returns the currently registered callback of type C, if any.

Link copied to clipboard
public abstract Optional<C> get<C extends P>(Class<C> callbackClass)
Returns an Optional that contains the callback of the given type or an empty Optional if there is no registered callback with the given type.
Link copied to clipboard
public abstract List<Plugin> list()
Returns an immutable list of the installed and available Chromium plugins or an empty list if there are no installed and available plugins.
Link copied to clipboard
public abstract Profile profile()
Returns the profile of this service.
Link copied to clipboard
public final C register<C extends Callback>(C callback)
public final C register<C extends Callback>(C callback)

Registers the given callback in this Advisable.

Link copied to clipboard
public abstract C remove<C extends P>(Class<C> callbackClass)
Removes a particular service callback.
Link copied to clipboard
public final C removeCallback<C extends Callback>()
public final C removeCallback<C extends Callback>()

Removes a callback of type C from this Advisable, if any.

Link copied to clipboard
public abstract C set<C extends P>(Class<C> callbackClass, C callback)
Sets a particular service callback.
Link copied to clipboard
public abstract PluginSettings settings()
Returns PluginSettings that allows configuring the settings of the available plugins.